//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class TaskUserLearnLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long taskId;
    private Long examId;
    private Long examUserId;
    private Integer state;
    private Long createUser;
    private Long createTime;
    private BigDecimal score;
    private Long classId;
    private Long catalogId;
    private Integer scoreState;
    private String taskUserData;

    public TaskUserLearnLog() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getTaskId() {
        return this.taskId;
    }

    public Long getExamId() {
        return this.examId;
    }

    public Long getExamUserId() {
        return this.examUserId;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Long getClassId() {
        return this.classId;
    }

    public Long getCatalogId() {
        return this.catalogId;
    }

    public Integer getScoreState() {
        return this.scoreState;
    }

    public String getTaskUserData() {
        return this.taskUserData;
    }

    public TaskUserLearnLog setId(final Long id) {
        this.id = id;
        return this;
    }

    public TaskUserLearnLog setTaskId(final Long taskId) {
        this.taskId = taskId;
        return this;
    }

    public TaskUserLearnLog setExamId(final Long examId) {
        this.examId = examId;
        return this;
    }

    public TaskUserLearnLog setExamUserId(final Long examUserId) {
        this.examUserId = examUserId;
        return this;
    }

    public TaskUserLearnLog setState(final Integer state) {
        this.state = state;
        return this;
    }

    public TaskUserLearnLog setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public TaskUserLearnLog setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public TaskUserLearnLog setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public TaskUserLearnLog setClassId(final Long classId) {
        this.classId = classId;
        return this;
    }

    public TaskUserLearnLog setCatalogId(final Long catalogId) {
        this.catalogId = catalogId;
        return this;
    }

    public TaskUserLearnLog setScoreState(final Integer scoreState) {
        this.scoreState = scoreState;
        return this;
    }

    public TaskUserLearnLog setTaskUserData(final String taskUserData) {
        this.taskUserData = taskUserData;
        return this;
    }

    public String toString() {
        return "TaskUserLearnLog(id=" + this.getId() + ", taskId=" + this.getTaskId() + ", examId=" + this.getExamId() + ", examUserId=" + this.getExamUserId() + ", state=" + this.getState() + ", createUser=" + this.getCreateUser() + ", createTime=" + this.getCreateTime() + ", score=" + this.getScore() + ", classId=" + this.getClassId() + ", catalogId=" + this.getCatalogId() + ", scoreState=" + this.getScoreState() + ", taskUserData=" + this.getTaskUserData() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskUserLearnLog)) {
            return false;
        } else {
            TaskUserLearnLog other = (TaskUserLearnLog)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label155: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label155;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label155;
                    }

                    return false;
                }

                Object this$taskId = this.getTaskId();
                Object other$taskId = other.getTaskId();
                if (this$taskId == null) {
                    if (other$taskId != null) {
                        return false;
                    }
                } else if (!this$taskId.equals(other$taskId)) {
                    return false;
                }

                Object this$examId = this.getExamId();
                Object other$examId = other.getExamId();
                if (this$examId == null) {
                    if (other$examId != null) {
                        return false;
                    }
                } else if (!this$examId.equals(other$examId)) {
                    return false;
                }

                label134: {
                    Object this$examUserId = this.getExamUserId();
                    Object other$examUserId = other.getExamUserId();
                    if (this$examUserId == null) {
                        if (other$examUserId == null) {
                            break label134;
                        }
                    } else if (this$examUserId.equals(other$examUserId)) {
                        break label134;
                    }

                    return false;
                }

                label127: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label127;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label127;
                    }

                    return false;
                }

                label120: {
                    Object this$createUser = this.getCreateUser();
                    Object other$createUser = other.getCreateUser();
                    if (this$createUser == null) {
                        if (other$createUser == null) {
                            break label120;
                        }
                    } else if (this$createUser.equals(other$createUser)) {
                        break label120;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                label106: {
                    Object this$score = this.getScore();
                    Object other$score = other.getScore();
                    if (this$score == null) {
                        if (other$score == null) {
                            break label106;
                        }
                    } else if (this$score.equals(other$score)) {
                        break label106;
                    }

                    return false;
                }

                Object this$classId = this.getClassId();
                Object other$classId = other.getClassId();
                if (this$classId == null) {
                    if (other$classId != null) {
                        return false;
                    }
                } else if (!this$classId.equals(other$classId)) {
                    return false;
                }

                label92: {
                    Object this$catalogId = this.getCatalogId();
                    Object other$catalogId = other.getCatalogId();
                    if (this$catalogId == null) {
                        if (other$catalogId == null) {
                            break label92;
                        }
                    } else if (this$catalogId.equals(other$catalogId)) {
                        break label92;
                    }

                    return false;
                }

                Object this$scoreState = this.getScoreState();
                Object other$scoreState = other.getScoreState();
                if (this$scoreState == null) {
                    if (other$scoreState != null) {
                        return false;
                    }
                } else if (!this$scoreState.equals(other$scoreState)) {
                    return false;
                }

                Object this$taskUserData = this.getTaskUserData();
                Object other$taskUserData = other.getTaskUserData();
                if (this$taskUserData == null) {
                    if (other$taskUserData != null) {
                        return false;
                    }
                } else if (!this$taskUserData.equals(other$taskUserData)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskUserLearnLog;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $taskId = this.getTaskId();
        result1 = result * 59 + ($taskId == null ? 43 : $taskId.hashCode());
        Object $examId = this.getExamId();
        result1 = result * 59 + ($examId == null ? 43 : $examId.hashCode());
        Object $examUserId = this.getExamUserId();
        result1 = result * 59 + ($examUserId == null ? 43 : $examUserId.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $classId = this.getClassId();
        result1 = result * 59 + ($classId == null ? 43 : $classId.hashCode());
        Object $catalogId = this.getCatalogId();
        result1 = result * 59 + ($catalogId == null ? 43 : $catalogId.hashCode());
        Object $scoreState = this.getScoreState();
        result1 = result * 59 + ($scoreState == null ? 43 : $scoreState.hashCode());
        Object $taskUserData = this.getTaskUserData();
        result1 = result * 59 + ($taskUserData == null ? 43 : $taskUserData.hashCode());
        return result1;
    }
}
